﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Articles.aspx.cs" Inherits="SES.CMS.Articles" %>

<%@ Register TagPrefix="cp" Namespace="SiteUtils" Assembly="CollectionPager" %>
<%@ Register Src="Module/ucLeftMenu.ascx" TagName="ucLeftMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!--
    <div class="idea2" style="padding-top: 10px;">
        <h1 class="qh-title-a" style="margin-left:80px;">
            <asp:Literal runat="server" ID="ltrTinTucSuKien"></asp:Literal>
        </h1>
        <div class="tintuc-sukien">
            <h2>
                Ban Mai Villages(Tin update mới nhất)</h2>
        </div>
        <div class="tintuc-sk-box">
            <asp:Repeater runat="server" ID="rptTinTucSuKien">
                <ItemTemplate>
                    <div class="tt-sk-wrap">
                        <p class="tt-sk-title">
                            <%#Eval("Title") %></p>
                        <p class="tt-sk-date">
                            Ngày
                            <%#Eval("CreateDate","{0:dd/MM/yyyy}") %></p>
                        <img class="tt-sk-img" alt='<%#Eval("Title")%>' title='<%#Eval("Title")%>' src='/Media/<%#Eval("ImageUrl") %>' />
                        <p class="tt-sk-desc">
                            <%#Eval("Description") %>
                        </p>
                        <p class="tt-sk-readmore">
                            <a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                title='<%#Eval("Title") %>'>Chi tiết </a>
                        </p>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        
    </div>
    <div class="idea2" style="padding-top: 10px;">
        <h1 class="qh-title-a">
            <asp:Literal runat="server" ID="ltrTinTucTT"></asp:Literal>
        </h1>
        <div class="tttt-container">
            <asp:Repeater runat="server" ID="rptTinTucThiTruong">
                <ItemTemplate>
                    <div class="tt-list">
                        <a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString())%>'
                            title='<%#Eval("Title") %>'>
                            <img alt='<%#Eval("Title")%>' title='<%#Eval("Title") %>' src='/Media/<%#Eval("ImageUrl") %>' />
                            <h2>
                                <%#Eval("Title") %>
                            </h2>
                        </a>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div style="width: 100%; float: left; margin: 10px 0 30px 0;">
            <div class="collection">
                <cp:CollectionPager LabelText="" FirstText="" BackText="<< &amp;nbsp;" LastText=""
                    NextText="&amp;nbsp;>>" ShowFirstLast="True" ControlCssClass="collectionpager"
                    PagingMode="PostBack" runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                    PageNumbersDisplay="Numbers" ResultsLocation="None" BackNextDisplay="HyperLinks"
                    ID="CollectionPager1" BackNextButtonStyle="" BackNextStyle="margin-left:5px;"
                    ControlStyle="" PageNumbersSeparator="&amp;nbsp;">
                </cp:CollectionPager>
            </div>
        </div>
    </div>
   
    -->
    <div class="idea2" style="min-height: 500px; margin-top: 5px;">
        <div style="float: left; width: 260px;">
            <uc1:ucLeftMenu ID="ucLeftMenu1" runat="server" />
        </div>
        <div style="float: left; width: 700px;">
            <h1 class="t-contact-title">
                <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label>
            </h1>
            <div style="float: left; width: 100%" class="ListNews">
                <ul>
                    <asp:Repeater runat="server" ID="rptModuleTinTuc">
                        <ItemTemplate>
                            <li>
                                <div class="YTuongImg">
                                    <a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                        title='<%#Eval("Title") %>'>
                                        <img src='/Media/<%#Eval("ImageUrl") %>' style="border: 0px;" alt='<%#Eval("Title")%>'
                                            title='<%#Eval("Title") %>' />
                                    </a>
                                </div>
                                <p class="Title">
                                    <a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                        title='<%#Eval("Title") %>'>
                                        <%#Eval("Title") %>
                                    </a>
                                </p>
                                <p class="Decription">
                                    <%#Eval("Description")%>
                                </p>
                                <p class="More">
                                    <a href='/<%# CategoryTitle(Eval("CategoryID").ToString())%>/Article/<%#Eval("ArticleID")%>/<%#FriendlyUrl(Eval("Title").ToString()) %>'
                                        class="btnMore" title="Chi tiết">
                                        <img src="/Images/btnMore.png" alt="More" style="border: 0px;" />
                                    </a>
                                </p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div style="width: 100%; float: left; margin: 10px 0 30px 0;">
                    <div class="collection">
                        <cp:CollectionPager LabelText="" FirstText="" BackText="<< &amp;nbsp;" LastText=""
                            NextText="&amp;nbsp;>>" ShowFirstLast="True" ControlCssClass="collectionpager"
                            PagingMode="PostBack" runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                            PageNumbersDisplay="Numbers" ResultsLocation="None" BackNextDisplay="HyperLinks"
                            ID="CollectionPager2" BackNextButtonStyle="" BackNextStyle="margin-left:5px;"
                            ControlStyle="" PageNumbersSeparator="&amp;nbsp;">
                        </cp:CollectionPager>
                    </div>
                </div>
            </div>
        </div>
        <div class="BorderLeft2">
        </div>
        <div class="BorderRight2">
        </div>
    </div>
    <div class="ideadt" style="padding-top: 10px;">
        <div class="article-wrap" style="margin-top: 0;">
            <h1 class="qh-title" style="margin-left: 0;">
                Đối tác chính</h1>
            <div style="float: left; width: 920px; margin: 20px 0px;">
                <div id="scroller">
                    <asp:Repeater ID="rptImage" runat="server">
                        <ItemTemplate>
                            <div class="section">
                                <a title='<%#Eval("TenDoiTac")%>' href='<%#Eval("MoTa")%>' target="_blank">
                                    <img src="/Media/<%#Eval("ImageURL") %>" alt='<%#Eval("TenDoiTac") %>' width="97px"
                                        height="96px;" />
                                </a>
                                <p class="abc">
                                </p>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
